package hub.cathome.service.impl;

import hub.cathome.entity.Proj;
import hub.cathome.mapper.ProjMapper;
import hub.cathome.service.ProjService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service("projService")
public class ProjServiceImpl implements ProjService {
    @Resource(name="projMapper")
    private ProjMapper projMapper;
    @Override
    public Proj getProjById(Integer id) {
        return projMapper.getProjById(id);
    }
}
